package client.gui.panels;

import java.awt.BorderLayout;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

import controllers.ControllerIF;

public class NotificationPanel extends JPanel implements PanelIF {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private JLabel notification;
	
	/**
	 * Create the panel.
	 */
	public NotificationPanel(String string) {
		notification = new JLabel(string);
		initGUI();
	}

	private void initGUI() {
		setLayout(new BorderLayout(0, 0));
		notification.setHorizontalAlignment(SwingConstants.CENTER);
		notification.setFont(new Font("Times New Roman", Font.PLAIN, 20));
		
		add(notification, BorderLayout.CENTER);
		
	}

	@Override
	public void setController(ControllerIF cif) {}
	
}
